

/*
* Copyright @ 2017 com.iflysse.trains
* crm 下午6:58:20
* All right reserved.
*
*/
	
package com.qf.dao;

import java.util.List;

import com.qf.pojo.CrmRunoff;
import com.qf.pojo.CrmStation;
import com.qf.pojo.CrmStudent;


/**
* @desc: crm
* @descripe:XXXX
* @author: 周锐
* @createTime: 2017年7月27日 下午6:58:20
* @history:
* @version: v1.0

*/

public interface CrmStudentDao {
       void addCrmStudent(CrmStudent student);
       void updateCrmStudent(CrmStudent student);
       CrmStudent findCrmStudentbyId(Long studentId);
       List<CrmStudent> findStudentByPage(int page,int size);
       int findStudentpage();
       int findStudentCountbyother(Long classId );
       void addStation(CrmStation station);
       void updateStation(CrmStation station);
       CrmStation findStationById(Integer stationId);
       List<CrmStation> findStationByPage(int page,int size);
       int findStationCount();
       int findTransCountbyother(Long classId);
       void addRunoff(CrmRunoff runoff);
       CrmRunoff findRunoffById(Integer runOffId);
       List<CrmRunoff> findRunoffByPage(int page,int size);
       int findRunoffCount();
       int findAdvanceCountbyother(Long classId);
       List<CrmStudent> findStudentByClassId(Long classId);
       int findRunoffCountbyother(Long classId);
       
}

	